package com.nchu.student_score.service;

import com.github.pagehelper.PageInfo;
import com.nchu.student_score.model.SubProject;
import com.nchu.student_score.model.SubScores;
import com.nchu.student_score.model.SubType;
import com.nchu.student_score.vo.ResultVo;

import java.util.List;

public interface SubScoreService {
    ResultVo<SubScores> saveSubScores(List<SubScores> scoresList);

    PageInfo<SubScores> getSubScoreList(SubScores input,Integer currPage);

    ResultVo<SubProject> selectOneProjectById(SubProject subProject);

    ResultVo<SubProject> updateSubProject(SubProject subProject);

    PageInfo<SubProject> getSubProjectList(SubProject subProject,Integer currPage);

    ResultVo<SubType> getAllSubType();

    PageInfo<SubType> getTypeList(Integer currPage);

    ResultVo<SubType> updateType(SubType subType);
}
